package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.ResCategory;
import com.ruoyi.system.util.vantClass;

/**
 * 餐馆分类Service接口
 * 
 * @author ruoyi
 * @date 2025-05-29
 */
public interface IResCategoryService 
{
    /**
     * 查询餐馆分类
     * 
     * @param categoryId 餐馆分类主键
     * @return 餐馆分类
     */
    public ResCategory selectResCategoryByCategoryId(Long categoryId);

    /**
     * 查询餐馆分类列表
     * 
     * @param resCategory 餐馆分类
     * @return 餐馆分类集合
     */
    public List<ResCategory> selectResCategoryList(ResCategory resCategory);

    public ResCategory selectResCategoryByCategoryName(String categoryName);

    /**
     * 新增餐馆分类
     * 
     * @param resCategory 餐馆分类
     * @return 结果
     */
    public int insertResCategory(ResCategory resCategory);

    /**
     * 修改餐馆分类
     * 
     * @param resCategory 餐馆分类
     * @return 结果
     */
    public int updateResCategory(ResCategory resCategory);

    /**
     * 批量删除餐馆分类
     * 
     * @param categoryIds 需要删除的餐馆分类主键集合
     * @return 结果
     */
    public int deleteResCategoryByCategoryIds(Long[] categoryIds);

    /**
     * 删除餐馆分类信息
     * 
     * @param categoryId 餐馆分类主键
     * @return 结果
     */
    public int deleteResCategoryByCategoryId(Long categoryId);

    public List<vantClass> selectResCategoryListVant();
}
